package thread;

public class CurrentThreadDemo {
    public static void main(String[] args) {
        Thread t1 = Thread.currentThread();
        System.out.println(t1);
        doSomething();

    }

    public static void doSomething () {
        Thread t1 = Thread.currentThread();
        System.out.println(t1);
    }
}
